<!DOCTYPE html>
<html>

    <head>
        <meta charset="UTF-8">
        <title>{:COMPANY}</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
        <meta name="apple-mobile-web-app-capable" content="yes" />
        <meta name="description" content="">
        <meta name="keywords" content="coco bootstrap template, coco admin, bootstrap,admin template, bootstrap admin,">
        <meta name="author" content="Huban Creative">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

        <!-- Base Css Files -->
        <link href="{:__BOOTSTRAP__}css/bootstrap.min.css" rel="stylesheet" />
        <link href="{:__CSS__}font-awesome/css/font-awesome.min.css" rel="stylesheet" />
        <link href="{:__CSS__}fontello/css/fontello.css" rel="stylesheet" />

        <!-- Extra CSS Libraries Start -->
        <link href="{:__CSS__}style.css" rel="stylesheet" type="text/css" />
        <!-- Extra CSS Libraries End -->

        <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
        <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
        <!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->

        <link rel="shortcut icon" href="{:__IMG__}Besiness/favicon.ico">
    </head>

    <body>
        <!-- Start content-->
        <div class="content">
            <div class="row">
                <div class="col-md-12">
                    <div class="widget">
                        <div class="widget-header transparent">
                            <h2><strong>地区列表</strong></h2>
                        </div>
                        <div class="data-table-toolbar table-size">
                            <form action="" method="post" >                           
                                <label class="table-select">地区名称：</label>
                                <input type="text" name="name" class="form-control" placeholder="地区名称" />
                                <button type="submit" class="table-select btn btn-success">查询</button>
                            </form>
                            <a href="{:U('area/area_add')}" class="table-select btn btn-success">添加地区</a>

                        </div>
                        <div class="table-responsive">
                            <table class="table table-hover table-striped">
                                <thead>
                                    <tr>
                                        <th>序号</th>
                                        <th>名字</th>
                                        <th>英文简称</th>
                                        <th>操作</th>
                                    </tr>
                                </thead>
                                <tbody>
                                <foreach name="data" item="v">
                                    <tr>
                                        <td>{$v.did}</td>
                                        <td>{$v.areaname}</td>
                                        <td>{$v.english}</td>
                                        
                                        <td>
                                            <div class="btn-group btn-group-xs">
                                                <a href="{:U('area_edit',array('id'=>$v['id']))}"  tit="编辑" class="btn btn-default"><i class="fa fa-edit"></i></a>
                                                <a href="{:U('area_del',array('id'=>$v['id']))}" tit="删除" class="btn btn-default"><i class="fa fa-times"></i></a>
                                            </div>
                                        </td>
                                    </tr>
                                </foreach>                                
                                </tbody>
                            </table>
                        </div>
                        <div class="my_page">{$page}</div>
                    </div>
                </div>
            </div
            <!-- Footer Start -->
            <div class="footer">Copyright &copy; {:COMPANY}</div>
            <!-- Footer End -->
        </div>

        <script type="text/javascript" src="{:__LIBS__}jquery/jquery-1.11.1.min.js"></script>
        <script type="text/javascript" src="{:__LIBS__}layer/layer.js"></script>
        <script type="text/javascript" src="{:__JS__}common.js"></script>
    </body>

</html>